﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopTaobaokeShop")]
    public class TaobaokeShop : BaseObject
    {
        //begin
        public TaobaokeShop()
        {}
        public TaobaokeShop(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _UserId;
        public string UserId
        {
            get
            {
                return _UserId;
            }
            set
            {
                SetPropertyValue("UserId", ref _UserId, value);
            }
        }
        private string _ShopTitle;
        public string ShopTitle
        {
            get
            {
                return _ShopTitle;
            }
            set
            {
                SetPropertyValue("ShopTitle", ref _ShopTitle, value);
            }
        }
        private string _ClickUrl;
        public string ClickUrl
        {
            get
            {
                return _ClickUrl;
            }
            set
            {
                SetPropertyValue("ClickUrl", ref _ClickUrl, value);
            }
        }
        private string _CommissionRate;
        public string CommissionRate
        {
            get
            {
                return _CommissionRate;
            }
            set
            {
                SetPropertyValue("CommissionRate", ref _CommissionRate, value);
            }
        }
        private string _SellerCredit;
        public string SellerCredit
        {
            get
            {
                return _SellerCredit;
            }
            set
            {
                SetPropertyValue("SellerCredit", ref _SellerCredit, value);
            }
        }
        private string _ShopType;
        public string ShopType
        {
            get
            {
                return _ShopType;
            }
            set
            {
                SetPropertyValue("ShopType", ref _ShopType, value);
            }
        }
        private string _TotalAuction;
        public string TotalAuction
        {
            get
            {
                return _TotalAuction;
            }
            set
            {
                SetPropertyValue("TotalAuction", ref _TotalAuction, value);
            }
        }
        private long _AuctionCount;
        public long AuctionCount
        {
            get
            {
                return _AuctionCount;
            }
            set
            {
                SetPropertyValue("AuctionCount", ref _AuctionCount, value);
            }
        }
        //end
    }
}
